package com.ssy.lingxi.member.merchant.model.vo.platform.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.util.List;

/**
 * 新增会员适用角色VO
 *
 * @author whm
 * @version 2.0.0
 * @date 2022-03-11
 **/
public class AddRoleRuleVO implements Serializable {
    private static final long serialVersionUID = -8725670524966388820L;

    /*
     * 会员id
     */
    @NotNull(message = "会员Id要大于0")
    @Positive(message = "会员Id要大于0")
    private Long memberId;

    /**
     * 会员要增加的适用角色idList
     */
    private List<Long> memberRoleIdList;

    /**
     * 下属会员要增加的适用角色idList
     */
    private List<Long> subMemberRoleIdList;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public List<Long> getMemberRoleIdList() {
        return memberRoleIdList;
    }

    public void setMemberRoleIdList(List<Long> memberRoleIdList) {
        this.memberRoleIdList = memberRoleIdList;
    }

    public List<Long> getSubMemberRoleIdList() {
        return subMemberRoleIdList;
    }

    public void setSubMemberRoleIdList(List<Long> subMemberRoleIdList) {
        this.subMemberRoleIdList = subMemberRoleIdList;
    }
}
